.class Lcom/brixd/niceapp/community/PortalFragment$3;
.super Ljava/lang/Object;
.source "PortalFragment.java"

# interfaces
.implements Lretrofit/Callback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/PortalFragment;->refreshPortalData()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lretrofit/Callback",
        "<",
        "Lorg/json/JSONObject;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/PortalFragment;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/PortalFragment;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/PortalFragment;

    .prologue
    .line 315
    iput-object p1, p0, Lcom/brixd/niceapp/community/PortalFragment$3;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public failure(Lretrofit/RetrofitError;)V
    .registers 3
    .param p1, "error"    # Lretrofit/RetrofitError;

    .prologue
    .line 333
    const-string v0, "listPortalData"

    invoke-static {v0, p1}, Lcom/zuiapps/suite/utils/log/LogUtil;->e(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 334
    return-void
.end method

.method public bridge synthetic success(Ljava/lang/Object;Lretrofit/client/Response;)V
    .registers 3

    .prologue
    .line 315
    check-cast p1, Lorg/json/JSONObject;

    invoke-virtual {p0, p1, p2}, Lcom/brixd/niceapp/community/PortalFragment$3;->success(Lorg/json/JSONObject;Lretrofit/client/Response;)V

    return-void
.end method

.method public success(Lorg/json/JSONObject;Lretrofit/client/Response;)V
    .registers 5
    .param p1, "jsonObject"    # Lorg/json/JSONObject;
    .param p2, "response"    # Lretrofit/client/Response;

    .prologue
    .line 319
    invoke-static {p1}, Lcom/brixd/niceapp/util/LocalCacheUtils;->setPortalData(Lorg/json/JSONObject;)V

    .line 320
    invoke-static {p1}, Lcom/brixd/niceapp/model/PortalModel;->parsePortalModel(Lorg/json/JSONObject;)Lcom/brixd/niceapp/model/PortalModel;

    move-result-object v0

    .line 322
    .local v0, "portalModel":Lcom/brixd/niceapp/model/PortalModel;
    iget-object v1, p0, Lcom/brixd/niceapp/community/PortalFragment$3;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    # getter for: Lcom/brixd/niceapp/community/PortalFragment;->mPortalAdapter:Lcom/brixd/niceapp/community/adapter/PortalAdapter;
    invoke-static {v1}, Lcom/brixd/niceapp/community/PortalFragment;->access$500(Lcom/brixd/niceapp/community/PortalFragment;)Lcom/brixd/niceapp/community/adapter/PortalAdapter;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/community/adapter/PortalAdapter;->setPortalModel(Lcom/brixd/niceapp/model/PortalModel;)V

    .line 323
    iget-object v1, p0, Lcom/brixd/niceapp/community/PortalFragment$3;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    # getter for: Lcom/brixd/niceapp/community/PortalFragment;->mPortalAdapter:Lcom/brixd/niceapp/community/adapter/PortalAdapter;
    invoke-static {v1}, Lcom/brixd/niceapp/community/PortalFragment;->access$500(Lcom/brixd/niceapp/community/PortalFragment;)Lcom/brixd/niceapp/community/adapter/PortalAdapter;

    move-result-object v1

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/adapter/PortalAdapter;->notifyDataSetChanged()V

    .line 324
    iget-object v1, p0, Lcom/brixd/niceapp/community/PortalFragment$3;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    # invokes: Lcom/brixd/niceapp/community/PortalFragment;->expandAllGroup()V
    invoke-static {v1}, Lcom/brixd/niceapp/community/PortalFragment;->access$600(Lcom/brixd/niceapp/community/PortalFragment;)V

    .line 326
    iget-object v1, p0, Lcom/brixd/niceapp/community/PortalFragment$3;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    # setter for: Lcom/brixd/niceapp/community/PortalFragment;->mPortalModel:Lcom/brixd/niceapp/model/PortalModel;
    invoke-static {v1, v0}, Lcom/brixd/niceapp/community/PortalFragment;->access$702(Lcom/brixd/niceapp/community/PortalFragment;Lcom/brixd/niceapp/model/PortalModel;)Lcom/brixd/niceapp/model/PortalModel;

    .line 328
    iget-object v1, p0, Lcom/brixd/niceapp/community/PortalFragment$3;->this$0:Lcom/brixd/niceapp/community/PortalFragment;

    # invokes: Lcom/brixd/niceapp/community/PortalFragment;->refreshCloverView()V
    invoke-static {v1}, Lcom/brixd/niceapp/community/PortalFragment;->access$800(Lcom/brixd/niceapp/community/PortalFragment;)V

    .line 329
    return-void
.end method
